package com.egreen.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.egreen.common.pojo.DTO.system.SystemAnnouncementDTO;
import com.egreen.common.pojo.VO.system.GetSystemAnnouncementVO;
import com.egreen.common.pojo.entity.system.SystemAnnouncement;



import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author cloudJiang
 * @since 2022-07-16
 */
public interface ISystemAnnouncementService extends IService<SystemAnnouncement> {

    /**
     * 系统公告查看
     *
     * @return
     */
    public List<GetSystemAnnouncementVO> getAllSystemAnnouncement();

    /**
     * 添加系统公告
     */
    public void addSystemAnnouncement(SystemAnnouncementDTO systemAnnouncementDTO);

    /**
     * 删除系统公告
     */
    public void deleteSystemAnnouncement(int id);
}
